home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 June / CHIP Turkiye Haziran 1997.iso / oyun / wr3d / stunt_1 / xst1gc03.x < prev    next >
Text File  |  1997-02-18  |  4KB  |  218 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  8;
  136.  -8445.561523;-2345.487305;-5111.580078;,
  137.  -8464.651367;-2345.465332;-5111.585449;,
  138.  -8464.668945;-2343.070801;-5074.316895;,
  139.  -8445.577148;-2343.092773;-5074.311035;,
  140.  -8445.576172;-2355.199707;-5107.881348;,
  141.  -8464.667969;-2355.177734;-5107.886230;,
  142.  -8464.666992;-2343.170898;-5074.288574;,
  143.  -8445.576172;-2343.192627;-5074.282227;;
  144.  
  145.  10;
  146.  3;5,0,4;,
  147.  3;1,0,5;,
  148.  3;6,1,5;,
  149.  3;2,1,6;,
  150.  3;7,2,6;,
  151.  3;3,2,7;,
  152.  3;4,3,7;,
  153.  3;0,3,4;,
  154.  3;6,4,7;,
  155.  3;5,4,6;;
  156.  
  157.  MeshMaterialList {
  158.   1;
  159.   1;
  160.   0;;
  161.   Material {
  162.    1.000000;1.000000;1.000000;1.000000;;
  163.    15.000000;
  164.    1.000000;1.000000;1.000000;;
  165.    0.000000;0.000000;0.000000;;
  166.    TextureFilename {
  167.     "arrow3.tga";
  168.    }
  169.   }
  170.  }
  171.  MeshNormals {
  172.   20;
  173.   -0.000171;-0.355891;-0.934527;,
  174.   0.999999;-0.001316;0.000504;,
  175.   -0.000147;-0.355932;-0.934512;,
  176.   -0.999960;-0.008887;0.000128;,
  177.   -0.999814;-0.019288;0.000768;,
  178.   0.005485;0.208854;0.977931;,
  179.   0.000024;0.277194;0.960814;,
  180.   0.710845;0.097146;0.696607;,
  181.   -0.000171;-0.355891;-0.934527;,
  182.   0.710845;0.097146;0.696607;,
  183.   -0.001183;-0.941675;0.336520;,
  184.   -0.000171;-0.355891;-0.934527;,
  185.   -0.999999;0.001514;-0.000512;,
  186.   -0.001170;-0.941673;0.336527;,
  187.   -0.999960;-0.008887;0.000128;,
  188.   0.010919;0.139471;0.990166;,
  189.   -0.001183;-0.941675;0.336520;,
  190.   0.005485;0.208854;0.977931;,
  191.   0.010919;0.139471;0.990166;,
  192.   -0.001183;-0.941675;0.336520;;
  193.  
  194.   10;
  195.   3;11,0,8;,
  196.   3;2,0,11;,
  197.   3;14,3,12;,
  198.   3;4,3,14;,
  199.   3;17,5,15;,
  200.   3;6,5,17;,
  201.   3;9,7,18;,
  202.   3;1,7,9;,
  203.   3;16,10,19;,
  204.   3;13,10,16;;
  205.  }
  206.  MeshTextureCoords {
  207.   8;
  208.   -1.003293;-3.030284;,
  209.   0.998504;-3.031034;,
  210.   1.000347;0.999885;,
  211.   -1.001655;1.000737;,
  212.   -1.001757;-2.466587;,
  213.   1.000245;-2.467337;,
  214.   1.000142;1.003936;,
  215.   -1.001758;1.004788;;
  216.  }
  217. }
  218.